package com.chang.dp.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

@Data
@TableName("ebooks")
public class EbookEntity extends BaseEntity{
    @TableId
    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;
    private String title;
    private String author;
    private String description;
    private String coverImage;
    private String fileName;
    private String channel_id;
    private int analyzed;
}
